package managedbean.FRM.SupplierPayment;

import entity.FRM.SupplierPayment;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import session.stateless.FRM.SupplierPaymentBeanLocal;

@ManagedBean(name="viewAllSupplierPaymentsManagerBean")
@ViewScoped

public class ViewAllSupplierPaymentsManagerBean implements Serializable {
    
    public ViewAllSupplierPaymentsManagerBean () {
    }
    
    @EJB
    private SupplierPaymentBeanLocal supplierPaymentBeanLocal;
    
    public List<SupplierPayment> getSupplierPayments() {
        return supplierPaymentBeanLocal.getAllSupplierPayments();
    }

    
}
